//
//  SSNetAPI.h
//  SmartStore
//
//  Created by xieShou on 2020/4/13.
//  Copyright © 2020 xichuan. All rights reserved.
//

#import <Foundation/Foundation.h>
//https://live.h5.writemall.com/  @"http://192.168.1.67:31007/"
/////////////////////////////////// 线上/////////////////////////////////////////
//static  NSString * const API_BASEURL                   =@"https://mall.writemall.com/";


static  NSString * const API_BASEURL_BossIP                   =@"https://mall219.writemall.com/bossapi/";
static  NSString * const API_BASEURL_BossIPvideo                   =@"https://mall219.writemall.com/videoapi/";

static  NSString * const API_BASEURL                   =@"https://live.h5.writemall.com/";
static  NSString * const API_BASEURLh5                   =@"https://live.h5.writemall.com/";
static  NSString * const API_BASEURLmall219                 =@"https://mall.writemall.com/shopapi/";
static  NSString * const API_RealyName_BASEURL         =@"http://creword.com/api/";//反抄袭

static  NSString * const getVertificationCode_BASEURL  =@"http://passport-api.writemall.com/";

static  NSString * const   kImageBaseHost2             =@"https://fafs.antiplagiarize.com/";

static NSString *  const API_NetDiskBaseURL            =@"http://cloud.antiplagiarize.com/disk";
static  NSString * const API_shoppingMall_BASEURL      =@"https://mall.writemall.com/shoppingMall";
static  NSString * const touristsRegister_BASEURL      =@"http://creword.com/oauthapi/";

static  NSString * const API_Images_BASEURL            =@"http://fafs.antiplagiarize.com/";

static  NSString * const API_Images_BASEURL2            =@"http://word.writemall.com";

//static  NSString * const API_BASEURL_pslV5                  =@"https://psl.writemall.com/";
static  NSString * const API_BASEURL_pslV5                  =@"http://creword.com/";


// 云文档 云收藏  实名认证  地址
// 反抄袭地址
static  NSString * const API_Cloud_BASEURL         =@"http://antiplagiarize-api.writemall.com/";

// 成语券
//static  NSString * const API_CYQuan_BASEURL         =@"https://writemall.com/details/973";

static  NSString * const API_CYQuan_BASEURL         =@"https://mall.writemall.com/shopDetails/973";

static  NSString * const API_VIPcenter_BASEURL         =@"https://mall.writemall.com/VIPcenter";

static  NSString * const API_upload_BASEURL         =@"https://live.h5.writemall.com/api/common/upload";

// 意见反馈
static  NSString * const API_fanKui_BASEURL         =@"http://work.writemall.com/";

// 忘记密码
static  NSString * const API_writemallForgotPasswordBaseURL         =@"https://www.writemall.com/";


static  NSString * const API_NOTPORT_31006     = @"";
static  NSString * const API_PORT_10004        = @"";
static  NSString * const API_tencentAppInfo            =@"tencent/app/info";

/////////////////////////////////     小语接口      ////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////






//keyWord    关键字        false
//string
//limit            false
//integer(int32)
//liveStatus    直播状态： 0 未开始 1直播中 2 已结束        false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const     API_roomList         =@"lvapi/live/room/list";


///     获取用户数据
//static  NSString * const API_getUserInfo             = @"api/user/getUserInfo";// pc端
static  NSString * const API_getUserInfo                     = @"api/user/getUserInfo";


//name    用户名    query    true
//string
//roomId    房间ID    query    true
//string
//uid    用户ID    query    true
//string
//用户离开直播间
static  NSString * const API_messageLeave                     = @"lvapi/message/leave";


//content    消息内容    query    true
//string
//format    消息格式化类型    query    true
//string
//icon    用户头像    query    true
//string
//name    用户名    query    true
//string
//roomId    房间ID    query    true
//string
//uid    用户ID    query    true
//string
//发送弹幕消息，调用此方法时，房间内所有人都可收到该文本消息
static  NSString * const API_messageSend                     = @"lvapi/message/send";


//name    用户名    query    true
//string
//roomId    房间ID    query    true
//string
//uid    用户ID    query    true
//string
// 用户加入直播间
static  NSString * const API_messageJoin                     = @"lvapi/message/join";



//id    id    query    false
//integer(int32)
// 获取房间信息
static  NSString * const API_roomInfo                         = @"lvapi/live/room/info";


//roomId    房间ID    query    true
//string
//uid    主播用户ID    query    true
//string
//userId    受邀观众用户ID
//邀请观众连麦
static  NSString * const API_inviteAudienceConnect                         = @"lvapi/message/inviteAudienceConnect";

//format    0 拒绝 1 接受    query    true
//string
//roomId    邀请人房间ID    query    true
//string
//uid    受邀用户ID    query    true
//string
//userId    邀请人用户ID    query    true
//string
//观众应答
static  NSString * const API_inviteeResponse                         = @"lvapi/message/inviteeResponse";


//roomId    房间ID    query    true
//string
//uid    主播用户ID    query    true
//string
//userId    受邀观众用户ID    query    true
//string
//结束连麦
static  NSString * const API_disconnect                         = @"lvapi/message/disconnect";

//format    0 解禁 1 禁言    query    true
//string
//roomId    房间ID    query    true
//string
//uid    主播用户ID    query    true
//string
//userId    被禁用户ID    query    true
//string

//用户禁言
static  NSString * const API_muteChat                         = @"lvapi/message/muteChat";


//roomId    房间ID    query    true
//string
//uid    用户ID    query    true
//string
//点赞
static  NSString * const API_messageLike                         = @"lvapi/message/like";

//keyWord    关键字    query    false
//string
//roomId    房间ID    query    false
//integer(int32)
// 商品列表
static  NSString * const API_productList                         = @"lvapi/live/product/list";



//limit            false
//integer(int32)
//page            false
//integer(int32)
//roomId    房间ID        false
//integer(int32)
static  NSString * const API_chatHistory                         =@"lvapi/live/chat/history";


//id    id    query    false
//integer(int32)
//password    password    query    false
//string
static  NSString * const API_roomVerify                         =@"lvapi/live/room/verify";


//MIME类型: application/x-www-form-urlencoded
//roomId: 3644
//uid: 4360
//commonProductId: 32
static  NSString * const API_addGoods                         =@"lvapi/message/addGoods";


//MIME类型: application/x-www-form-urlencoded
//id: 3674
static  NSString * const API_stopLive                         =@"lvapi/live/room/stopLive";


//请求数据
//MIME类型: application/x-www-form-urlencoded
//id: 3674
static  NSString * const API_delLive                         =@"lvapi/live/room/delLive";


static  NSString * const API_stopstream                         =@"https://webrtcpush.myqcloud.com/webrtc/v1/stopstream";

//id    id    query    false
//integer(int32)
static  NSString * const API_statistic                         =@"lvapi/live/room/statistic";

//keyWord    关键字    query    false
//string
//limit        query    false
//integer(int32)
//muteChat    禁言： 0 否 1 是    query    false
//integer(int32)
//page        query    false
//integer(int32)
//roomId    房间ID    query    false
//integer(int32)
//status    状态： 0 离线 1 在线 默认给1    query    false
//integer(int32)

static  NSString * const API_userList                         =@"lvapi/live/user/list";


//id    id    query    false
//integer(int32)
//resolutionMode    resolutionMode    query    false
//integer(int32)
static  NSString * const API_startLive                         =@"lvapi/live/room/startLive";

//page: 1
//limit: 10
//KeyWord
//orderStatus: 不传代表全部  传1待fukuan 传2交易成功
static  NSString * const API_orderList                         =@"lvapi/live/order/list";


//POST /lvapi/live/room/dataReport HTTP/1.1
//Content-Type: application/json
//limit            false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const API_dataReport                         =@"lvapi/live/room/dataReport";




// 查询精选直播列表
//limit            false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const     API_featuredList         =@"lvapi/live/room/featuredList";


//查询预约列表    查询预约列表    body    true
//limit            false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const     API_reserveList        =@"lvapi/live/room/reserveList";


//查询分区列表
//limit            false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const     API_partitionList        =@"lvapi/live/room/partitionList";




//查询直播中的直播间列表
//code    平台code        false
//string
//keyWord    关键字        false
//string
//limit            false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const     API_livingList        =@"lvapi/live/room/livingList";




//推荐直播列表
//limit            false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const     API_roomRecommendList        =@"lvapi/live/room/recommendList";



//我的直播列表
//limit            false
//integer(int32)
//page            false
//integer(int32)
static  NSString * const     API_mineLiveRoomList       =@"lvapi/live/room/mineLiveRoomList";



//liveName    直播间名称        false
//string
//mainImage    直播主图(详情封面)        false
//string
//planStartTime    计划开播时间        false
//string
static  NSString * const     API_roomAddLiveRoom       =@"lvapi/live/room/addLiveRoom";


static  NSString * const     API_followGetUserInfo       =@"lvapi/user/follow/getUserInfo";



//   33.2. 个人资料修改
//static  NSString * const API_userInfoUpd                      = @"api/user/userInfoUpd"; // pc端
static  NSString * const API_userInfoUpd                      = @"api/user/userInfoUpd";


//请求数据类型 application/x-www-form-urlencoded
//followedUserId    关注用户id    query    true
//integer(int32)
//status    关注状态(0关注 1取消)    query    true
//boolean
static  NSString * const API_followFollowUser                      = @"lvapi/user/follow/followUser";


//关注列表
//limit        query    false
//integer(int32)
//page        query    false
//integer(int32)
static  NSString * const API_followFollowList                      =@"lvapi/user/follow/followList";


//粉丝列表
//limit        query    false
//integer(int32)
//page        query    false
//integer(int32)
static  NSString * const API_followFansList                      =@"lvapi/user/follow/fansList";


static  NSString * const API_UpdatePwd = @"lvapi/user/updatePwd";



//预约直播间
//POST
///live/room/addAppointment
//请求数据类型 application/x-www-form-urlencoded
//liveRoomId    直播间id    query    true
//integer(int32)
//status    预约状态 0取消 1预约    query    true
//integer(int32)
static  NSString * const API_RoomAddAppointment = @"lvapi/live/room/addAppointment";


static  NSString * const API_carouselCarousels = @"lvapi/live/live-carousel/Carousels";


//forgotPasswordDTO    ForgotPasswordDTO    body    true
//code            true
//string
//codeId            true
//integer(int32)
//mobile            true
//string
//newPassword            true
//string
static  NSString * const API_forgotPassword = @"api/user/forgotPassword";

//GET
///live/room/checkAuthority
//请求数据类型 application/x-www-form-urlencoded
//响应数据类型 [ "*/*" ]
static  NSString * const API_checkAuthority = @"lvapi/live/room/checkAuthority";

///////////////////////////////////////////////////////////////////////////////////////////












static  NSString * const     API_lecturerApply         =@"tpsapi/lecturer/apply";



static  NSString * const     API_settingUpdate         =@"user/setting/update";

// 获取地区
static  NSString * const API_findAreaListByCity_URL                    =@"common/findAreaListByCity";

// 获取团队类型
static  NSString * const API_teamList_URL                    =@"enterprise/teamList";

// 获取授课类型 ?code=FIELD_OF_EXPERTISE
// 获取教师等级 ?code=DECLARATION_LEVEL
static  NSString * const API_findItemList_URL                    =@"common/dictionary/findItemList";



//12.5. 订单支付
//URL: h ttp://api.creword.com/tps-order/pay
static  NSString * const API_tpsOrderPay_URL                    =@"tpsapi/tps-order/pay";






//Parameter    Type    Description    Required    Since
//courseId
//int32
//线下课id对应tps_hs_course表id
//true
//
//remark
//string
//备注信息
//false
//
//totalHours
//int32
//选择的总课时
//true
//
//payType
//int32
//zhifu方式 1.WeiXin zhifu方式 2.zhiFuBao zhifu方式
//false

//12.2. 新增讲师产品线下课订单
//URL: h ttp://api.creword.com/tps-order/addHsCourseOrder
static  NSString * const API_addHsCourseOrder_URL                    =@"tpsapi/tps-order/addHsCourseOrder";



static  NSString * const API_caseInfo_URL                    =@"tpsapi/hs/caseInfo";


static  NSString * const API_menuFrontPageList_URL  =@"tpsapi/hs/online/menu/frontPageList";

static  NSString * const API_onlineInfo_URL                    =@"tpsapi/hs/onlineInfo";


static  NSString * const API_casePageList_URL                    =@"tpsapi/hs/case/pageList";

static  NSString * const API_teacherInfo_URL                    =@"tpsapi/hs/teacherInfo";


static  NSString * const API_courseInfo_URL                    =@"tpsapi/hs/courseInfo";

//lcType
//课程类型：1 线上 2线下
//hsId
//关联线上线下课id
static  NSString * const API_addLearningRecord_URL                    =@"tpsapi/hs/addLearningRecord";



//{"category":"金融银行","page":1,"limit":10,"keyWord":"","cityName":""}
static  NSString * const API_courseFrontPageList_URL                    =@"tpsapi/hs/course/frontPageList";

//{"category":"金融银行","page":1,"limit":10,"keyWord":"","cityName":""}
static  NSString * const API_onlineFrontPageList_URL                    =@"tpsapi/hs/online/frontPageList";


//{"category":"金融银行","page":1,"limit":10,"keyWord":"","cityname":""}
static  NSString * const API_teacherPageListFront_URL                    =@"tpsapi/hs/teacher/pageListFront";



static  NSString * const API_oneCategoryList_URL                    =@"tpsapi/hs/oneCategoryList";


static  NSString * const API_classification_URL                    =@"aicreativework/classification";




//type  1
//Request Method: POST   form data
static  NSString * const API_getModelsTag_URL                    =@"aiimg-models/getModelsTag";

//Request Method: POST
static  NSString * const API_getModelsByHot_URL                    =@"aiimg-models/getModelsByHot";

//modelsId
//Request Method: POST   form data
static  NSString * const API_addModelsUser_URL                    =@"aiimg-models/addModelsUser";

//modelsId
//Request Method: POST   form data
static  NSString * const API_getModelsById_URL                    =@"aiimg-models/getModelsById";

//page: 1
//modelsId: 566
//keyWord:
//Request Method: POST   form data
static  NSString * const API_communityGalleryList_URL                    =@"aiimg-models/communityGalleryList";


//keyWord:
//modelsCode:
//Request Method: POST   form data
static  NSString * const API_modelsGetModelsBycode_URL                    =@"aiimg-models/getModelsBycode";

///Request Method: POST
static  NSString * const API_modelsTypeList_URL                    =@"aiimg-models/typeList";


static  NSString * const API_commonPraise_URL                    =@"common/praise";

//page: 1
//limit: 10
//target: AIGCgao0001-001-002
//type: 1
static  NSString * const API_findPageCommentsByTarget_URL                    =@"common/findPageCommentsByTarget";


//Request Method: POST   form data
//wordContent: 小鸟
//checked: 1
static  NSString * const API_recommendRewriteList_URL                    =@"recommend/rewriteList";


//Request Method: GET
//keyWord: 李白
//page: 1
static  NSString * const API_poetryPageListByKey_URL                    =@"common/poetry/pageListByKey";



//?type=1&page=1&limit=42&parentId=0
//Request Method: GET
//type: 1
//page: 1
//limit: 42
//parentId: 0
static  NSString * const API_poetryPageList_URL                    =@"common/poetry/pageList";


//Request URL:  om/crewordapi/common/poetry/authors
//Request Method: GET
static  NSString * const API_poetryAuthors_URL                    =@"common/poetry/authors";


//page: 1
//limit: 18
//bookType:  1古诗集 2古词集  4现代诗集 3 古书籍
//parentId: 0
//Request URL:all.com/crewordapi/common/poetry/pageCoverPageList?page=1&limit=18&bookType=1&parentId=0
//Request Method: GET
static  NSString * const API_pageCoverPageList_URL                    =@"common/poetry/pageCoverPageList";

//recommendType: 1
//Request URL:  l.com/crewordapi/common/poetry/poetryRecommendList?recommendType=1
//Request Method: GET
static  NSString * const API_poetryRecommendList_URL                    =@"common/poetry/poetryRecommendList";


//xiehouyu: 鸟
//post form data
static  NSString * const API_dictionaryXiehouyu_URL                    =@"dictionary/xiehouyu";


//key: 鸟
//post form data
static  NSString * const API_dictionarySearchidiom_URL                    =@"dictionary/searchidiom";

//key: 鸟
//post form data
static  NSString * const API_dictionarySearch_URL                    =@"dictionary/search";

//word: 鸟
//post form data
static  NSString * const API_dictionaryWord_URL                    =@"dictionary/word";



//post form data
static  NSString * const API_TranslateTextTranslat_URL                    =@"translate/textTranslate";


// 语言选择数据 get
static  NSString * const API_TranslateLoadLanguages_URL                    =@"translate/loadLanguages";

// 繁体简体转换
//post form data
//html:
//type: 2
static  NSString * const API_TranslateSimplification_URL                    =@"translate/simplification";



// 移除白名单
//id: 5111    form data
//Request URL: verify/delVerifyWhiteList
//Request Method: DELETE
static  NSString * const API_delVerifyWhiteList_URL                    =@"verify/delVerifyWhiteList";

//ruleId: 6936
//Content-Type: multipart/form-data;
// 删除自定义核校规则
static  NSString * const API_delRules_URL                    =@"verify/delRules";

//file: (binary)
//Content-Type: multipart/form-data;
// 导入exel
static  NSString * const API_importExcleFile_URL                    =@"verify/importExcleFile";

//beizhu
//"自定义规则"
//memo
//""
//replaceText
//"对对对"
//tagetText
//"错错错"
//Request Method: POST  Accept: application/json, text/plain, */*
// 新增核校规则
static  NSString * const API_verifyRulesAdd_URL                    =@"verify/verifyRulesAdd";


//page: 1
//limit: 10
//key:
//核校白名单  Request Method: POST  form data
static  NSString * const API_verifyWhiteListPage_URL                    =@"verify/verifyWhiteListPage";

//page: 1
//limit: 10
//type: 2
//key:
// 自定义核校规则 Request Method: POST form data
static  NSString * const API_verifyRulesPageList_URL                    =@"verify/verifyRulesPageList";



//@Query("wordContent") String wordContent, @Query("checked") int checked
static  NSString * const API_recommendAigcList_URL                    =@"recommend/aigcList";



static  NSString * const API_oauthToken_URL                    =@"oauth/token";

static  NSString * const API_wxloginVerify_URL                    =@"wxlogin/verify";

static  NSString * const API_logUserDisplay_URL                    =@"corpuslog/logUserDisplay";

static  NSString * const API_deductIdiomCoupon_URL           =@"userInterests/deductIdiomCoupon";

static  NSString * const API_typeSelection_URL                    =@"corpus/typeSelection";


static  NSString * const API_findCaseSpecification_URL                    =@"case/findCaseSpecification";

static  NSString * const API_cartsBuyCaseURL                    =@"carts/buyCase";

static  NSString * const API_cartsSubmitURL                    =@"carts/submit";

// 获取成语券剩余数量
static  NSString * const API_checkIdiomCouponURL                    =@"userInterests/checkIdiomCoupon";

static  NSString * const API_caseDetailURL                    =@"case/caseDetail";

static  NSString * const API_buyListURL                    =@"case/buyList";

static  NSString * const API_cartsSaveURL                    =@"carts/save";

static  NSString * const API_cartsListURL               =@"carts/list";

static  NSString * const API_caseSearchURL              =@"case/caseSearch";

static  NSString * const API_findCasePriceURL             =@"case/findCasePrice";


static  NSString * const API_choiceTreeListURL             =@"aiwriting/choiceTreeList";


static  NSString * const API_queryProductsURL             =@"aiwriting/queryProducts";

static  NSString * const API_queryProductsLabelURL             =@"aiwriting/queryProductsLabel";

//@"dictionary/findItemList?code=LECTURER_SECTION"
static  NSString * const API_DictionaryFindItemListURL             =@"dictionary/findItemList";


static  NSString * const API_productPageListURL              =@"tpsapi/product/pageList";

//html转pdf下载
static  NSString * const API_htmlToPdfDownloadURL             =@"common/htmlToPdfDownload";

//html转docx下载
static  NSString * const API_htmlToWordDownloadURL             =@"common/htmlToWordDownload";

//文库
static  NSString * const API_queryOfficicalWordURL             =@"copyright/queryOfficicalWord";



static  NSString * const API_recommendRenewalURL                =@"recommend/renewal";

static  NSString * const API_oftenWordSearchURL             =@"goldensentence/often-word/oftenWordSearch";

//模板
static  NSString * const API_templateSearchURL             =@"template/templateSearch";


static  NSString * const API_recommendHistoryPageListURL             =@"recommend/recommendHistoryPageList";
            
static  NSString * const API_bdPageListURL             =@"bd/pageList";
static  NSString * const API_aiPageListURL             =@"ai/pageList";


static  NSString * const API_exampleListURL            =@"ai/exampleList";



static  NSString * const API_3DaysPLUSCard            =@"card/check/3DaysPLUSCard";//检测是否领取


static  NSString * const API_Bind3DaysPLUSCard            =@"card/bind/3DaysPLUSCard";//领取


static  NSString * const API_checkMobileAchCaptchas            =@"common/checkMobileAchCaptchas";

static  NSString * const API_systemDelAssembleByIds            =@"system/delAssembleByIds";

static  NSString * const API_copyrightQueryAssembleWord            =@"copyright/queryAssembleWord";

static  NSString * const API_writerMergeWordToServe            =@"system/writerMergeWordToServe";

static  NSString * const API_systemCheckAssembly            =@"system/checkAssembly";

static  NSString * const API_systemUserDocTempCount             =@"system/userDocTempCount";

static  NSString * const API_assemblyList             =@"system/assemblyList";

static  NSString * const API_openLibraryFile             =@"analysis/openLibraryFile";

static  NSString * const API_openLibraryTraceSourceFile             =@"analysis/openLibraryTraceSourceFile";

static  NSString * const API_openTemplateFile             =@"analysis/openTemplateFile";

static  NSString * const API_findUserCollectTemplate             =@"template/findUserCollectTemplate";

static  NSString * const API_collectList             =@"goldensentence/often-word/collectList";

//金句
static  NSString * const API_oftenWordSearch             =@"goldensentence/often-word/oftenWordSearch";

static  NSString * const API_templateSearch             =@"template/templateSearch";

//Request URL: ht tp://work.writemall.com/crewordapi/verify/verifyWhiteListAdd
//Request Method: POST
////rulesId: 6932  form data
//// 添加白名单
static  NSString * const API_verifyWhiteListAdd          =@"verify/verifyWhiteListAdd";

static  NSString * const API_favoriteCollection          =@"favorite/collection";

static  NSString * const API_adErrorSetStart            =@"verify/adErrorSetStart";

static  NSString * const API_verifyRulesPageList         =@"verify/verifyRulesPageList";

static  NSString * const API_verifyWhiteListPage         =@"verify/verifyWhiteListPage";

static  NSString * const API_verifyVerifyStart           =@"verify/verifyStart";

static  NSString * const API_verifyverifyResult          =@"verify/verifyResult";

static  NSString * const API_querylCollectionWord          =@"copyright/querylCollectionWord";

static  NSString * const API_templateAndSayingLibrary       =@"contextual/templateAndSayingLibrary";

static  NSString * const API_contextualLibrary              =@"contextual/library";

static  NSString * const API_analysisFindTextUrl            =@"analysis/findTextUrl";

static  NSString * const API_systemShareToIcloud             =@"system/shareToIcloud";

static  NSString * const API_diskDirectory                   =@"disk/directory";

static  NSString * const API_uploaderDiskUpload              =@"uploader/diskUpload";

static  NSString * const API_diskFindWordFolder              =@"disk/findWordFolder";

static  NSString * const API_analysisIsfinish                =@"analysis/isfinish";

// 启动分析
static  NSString * const API_analysisStart                   =@"analysis/start";

//删除所有分析项
static  NSString * const API_analysisPreselectDelete        =@"analysisPreselect/delete";

static  NSString * const API_analysisTextList                =@"analysis/textList";

static  NSString * const API_analysisGetBdParticiple          =@"analysis/getBdParticiple";

static  NSString * const API_analysisPreselectEdit            =@"analysisPreselect/edit";

static  NSString * const API_frequencyAnalysis                =@"analysis/frequencyAnalysis";

static  NSString * const API_analysisDelete                   =@"analysis/delete";

static  NSString * const API_contextualContextualList         =@"contextual/contextualList";
  
// plus卡校验
static  NSString * const API_cardCheck                        =@"card/check";

//实体卡绑定
static  NSString * const API_cardBind                          =@"card/bind";

//已绑定plus卡
static  NSString * const API_findPlusContextual                =@"card/findPlusContextual";

// 注销账号
static  NSString * const API_cancellation                      =@"user/cancellation";

//
//static  NSString * const API_forgotPassword                    =@"user/forgotPassword";
  
//50.7. 关注/取关
static  NSString * const API_userFocus                         =@"user/focus";

//50.6. 关注/粉丝列表
static  NSString * const API_findFocusList                    =@"user/findFocusList";

//39.4. 删除订单
static  NSString * const API_orderDelete                       =@"product/order/delete";

//2.2. 用户商品折扣信息
static  NSString * const API_findDiscount              = @"recommendcode/findDiscount";

//39.6. 全部订单列表
static  NSString * const API_orderAllOrder                     =@"product/order/allOrder";

//. 获取收藏商品
static  NSString * const API_productcollectionList             =@"productcollection/list";



//获取用户设置
static  NSString * const API_userSettingFind         =@"user/setting/find";

//修改用户设置
static  NSString * const API_userSettingUpdat        =@"user/setting/update";

//添加模板下载日志
static  NSString * const API_templateLogAdd          =@"template/log/add";

//引用列表
static  NSString * const API_recommendListCite        =@"recommend/listCite";

// 数据分析
static  NSString * const API_analysisList             =@"analysis/list";


// 分组id  1统计分析   2金句库  3模板库   4推荐
// checked 是否选中 0未选中 1选中  2需购买
static  NSString * const API_getProductListGroup        =@"side/getProductListGroup";


//  27.3. 注销实名认证信息
static  NSString * const API_cancelRealname             = @"realname/cancelRealname";




//  27.4. 修改实名认证账号绑定的手机号
static  NSString * const API_updateRealnameMobile       = @"realname/updateRealnameMobile";


//  27.5. 添加为实名副账号
static  NSString * const API_addDeputyAccount            = @"realname/addDeputyAccount";

//   纠错
static  NSString * const API_addRealnameFeedback        = @"realname/addRealnameFeedback";

// 赞
static  NSString * const API_commentPraise              = @"template/comment/praise";

// 评论
static  NSString * const API_commentAdd                  = @"template/comment/add";

// 获取用户评论数据
static  NSString * const API_commentList                = @"template/comment/list";
//   实名认证
static  NSString * const API_addRealname                = @"realname/addRealname";

//  校验用户是否实名  realnameType==1 已实名
static  NSString * const API_checkUserRealname           = @"realname/checkUserRealname";

// 用户采集
static  NSString * const API_acquisitionGather                 =@"acquisition/gather";

// 新增订单
static  NSString * const API_productOrderAdd                   =@"product/order/add";

// 搜索查询商品规格
static  NSString * const API_specificationSsearch               =@"product/product-specification/search";

//2.1. 绑定推荐码
static  NSString * const API_recommendcodeBind                   =@"recommendcode/bind";


//2.2. 用户商品折扣信息
static  NSString * const API_recommendcodefindDiscount           = @"recommendcode/findDiscount";


//2.4. 查询优惠码对商品折扣信息
static  NSString * const API_findDiscountInfoByCode              =@"recommendcode/findDiscountInfoByCode";


//新增或删除收藏商品
static  NSString * const API_productcollectionAddOrDel             =@"productcollection/addOrDel";

//根据ID查询商品
static  NSString * const API_productOne                        =@"product/one";


//搜索查询商品文件
static  NSString * const API_productFileSearc                  =@"product/product-file/search";


//46.6. 网盘中会员开通信息
static  NSString * const API_diskRightsOpenInfo                =@"product/diskRightsOpenInfo";


// 已够句库
static  NSString * const API_buyRecordList                   =@"contextual/buyRecordList";

// 删除上传作品
static  NSString * const API_portfolioDely                   = @"portfolio/del";

//25.3. 修改创作时间
static  NSString * const API_updatePublishTime              = @"portfolio/update/publishTime";


//修改作品价格
static  NSString * const API_updatePrice                   =  @"portfolio/update/price";




//作品上下架
static  NSString * const API_updateShelves                =@"portfolio/update/shelves";

// 查询作品列表
static  NSString * const API_portfolioListPage            =  @"portfolio/listPage";

//推荐列表
static  NSString * const API_contextualThirdpart         =@"contextual/thirdpart";


static  NSString * const API_diskType                    = @"disk/type";

//8.3. 开始批量溯源
static  NSString * const API_batchTraceSource            = @"creation/batchTraceSource";

//page
//int32
//limit
//int32
//每页数(默认：10)
//false
///    8.5. 分页查询溯源解析队列
static  NSString * const API_findTraceParseQueue       = @"creation/findTraceParseQueue";



//10.1. 检查字数
static  NSString * const API_checkInterestsNumber     = @"userInterests/checkInterestsNumber";


//7.2. 获取当前登录用户的溯源数据
static  NSString * const API_getTraceSourceResult            = @"creation/getTraceSourceResult";

///  富文本溯源
static  NSString * const API_traceSource              = @"creation/traceSource";




//2.3. 获取用户的推荐码
static  NSString * const API_findUserRecommendCode     =@"recommendcode/findUserRecommendCode";


//9.13. 修改溯源设置
static  NSString * const API_traceSourceSetting        =@"creation/traceSourceSetting";

//{
//    "type": 3,
//    "mobile": "07627"
//}
//static  NSString * const API_getMobileAchCaptchas        = @"common/getMobileAchCaptchas";// pc端
static  NSString * const API_getMobileAchCaptchas        = @"user/getMobileAchCaptchas";

//{
//    "mobile": "187627",
//    "password": "222222",
//    "codeId": 1693,
//    "code": "123456",
//    "inviteCode": "111111"
//}
//static  NSString * const API_register                     = @"oauthapi/user/register";// pc端
static  NSString * const API_register                     = @"user/register";

///     密码登录
///     //static  NSString * const API_tokenLogin                   = @"/oauthapi/oauth/token"; // pc端
static  NSString * const API_tokenLogin                   = @"oauthapi//oauth/token";





static  NSString * const API_touristsRegister               = @"user/touristsRegister";

//
static  NSString * const API_commonUpload                    = @"common/upload";// pc端
//static  NSString * const API_commonUpload            = @"api/goldensentence/often-word/uploadOftenWord";




static  NSString * const API_touristsPWDModify                = @"user/touristsPWDModify";

//static  NSString * const API_commonGetMobileAchCaptchas            = @"common/getMobileAchCaptchas"; // pc端
static  NSString * const API_commonGetMobileAchCaptchas            = @"user/getMobileAchCaptchas";

// 金句数据@"type":@(2),    模板数据接口@"type":@(3),
//static  NSString * const API_contextualPageList             =@"crewordapi/contextual/pageList";// pc端
static  NSString * const API_contextualPageList                     =@"contextual/pageList";

//推荐列表
static  NSString * const API_contextualRecomend                   =@"contextual/recomend";

//语境库列表
//URL: http: //api.creword.com/contextual/list
static  NSString * const API_contextualList                      =@"contextual/list";

//查询选中的
//static  NSString * const API_findSelectedLib                =@"crewordapi/contextual/findSelectedLib";// pc端
static  NSString * const API_findSelectedLib                      =@"contextual/findSelectedLib";

//设置选中的
static  NSString * const API_contextualSetting                  =@"contextual/setting";

// 获取主题
// htt p://creword.com/crewordapi/contextual/findByPid?id=25064
//static  NSString * const API_contextualFindByPid            =@"crewordapi/contextual/findByPid";// pc端
static  NSString * const API_contextualFindByPid                =@"contextual/findByPid";

//已收藏的句库
//htt p://creword.com/crewordapi/contextual/boughtAndChecked?groupId=2
//static  NSString * const API_contextualBoughtAndChecked     =@"crewordapi/contextual/boughtAndChecked";// pc端
static  NSString * const API_contextualBoughtAndChecked         =@"contextual/boughtAndChecked";

//可添加的句库
//h ttp://creword.com/crewordapi/contextual/bought?groupId=2
//static  NSString * const API_contextualBought                =@"crewordapi/contextual/bought";// pc端
static  NSString * const API_contextualBought                    =@"contextual/bought";


//选择/取消选择已购买的库
//h ttp://creword.com/crewordapi/contextual/bought?groupId=2
//static  NSString * const API_contextualSaveBought              =@"crewordapi/contextual/saveBought";// pc端
static  NSString * const API_contextualSaveBought                =@"contextual/saveBought";

// 收藏金句库
//h ttp://creword.com/crewordapi/contextual/collectList?type=2&limit=10&page=1
//static  NSString * const API_contextualCollectList              =@"crewordapi/contextual/collectList";// pc端
static  NSString * const API_contextualCollectList              =@"contextual/collectList";
    
//// 语境推荐收藏 取消收藏
//htt p://creword.com/crewordapi/contextual/collect?type=2&id=265091a24
//static  NSString * const API_contextualCollectOrCancel           =@"crewordapi/contextual/collect";// pc端
//static  NSString * const API_contextualCollectOrCancel           =@"contextual/collect";
//static  NSString * const API_collectOftenWord           =@"goldensentence/often-word-collect/collectOftenWord";

static  NSString * const API_collectOftenWord           =@"goldensentence/often-word/collect";

// AI智能推文
//htt p://creword.com/crewordapi/recommend/list
//static  NSString * const API_crewordapiRecommendList             =@"crewordapi/recommend/list";// pc端
static  NSString * const API_crewordapiRecommendList             =@"recommend/list";//


// AI智能推文2
//h ttp://creword.com/crewordapi/common/query
static  NSString * const API_commonQuery                         =@"common/query";// pc端
//static  NSString * const API_commonQuery                         =@"common/query";

//48.1. 添加汇编
//static  NSString * const API_addDocTempInfo                     = @"crewordapi/template/addAssemblyInfo";// pc端
static  NSString * const API_addDocTempInfo                     = @"system/addDocTempInfo";


////统计添加汇编数量
//48.2. 统计添加汇编数量
//static  NSString * const API_userDocTempCount                   = @"crewordapi/template/userAssemblyCount";// pc端
static  NSString * const API_userDocTempCount                   = @"template/userAssemblyCount";

//48.4. 汇编成册下载
//static  NSString * const API_writerMergeWord                    =@"crewordapi/template/writerMergeWord";// pc端
static  NSString * const API_writerMergeWord                    =@"template/writerMergeWord";

//48.3. 清空汇编
//static  NSString * const API_delDocTempInfo                     =@"crewordapi/template/delDocTempInfo";// pc端
static  NSString * const API_delDocTempInfo                     =@"template/delDocTempInfo";

//48.5. 文件下载 0.单个下载，1批量下载
//static  NSString * const API_writerCkWord                     =@"crewordapi/template/writerTemplate";// pc端
static  NSString * const API_writerCkWord                     =@"crewordapi/template/writerTemplate";
//=@"system/writerCkWord";//  
//打开文件
//static  NSString * const API_commonPreview                    =@"api/common/preview";// pc端
static  NSString * const API_commonPreview                    =@"common/preview";


//模板热度
//static  NSString * const API_addTemplateHot                   =@"crewordapi/template/addTemplateHot";// pc端
static  NSString * const API_addTemplateHot                   =@"template/addTemplateHot";

//模板 收藏
//static  NSString * const API_addTemplateCollect               =@"crewordapi/template/addTemplateCollect";// pc端
static  NSString * const API_addTemplateCollect               =@"template/addTemplateCollect";


// 获取溯源设置
static  NSString * const API_getTraceSourceSetting            =@"creation/getTraceSourceSetting";

//////////////////////////////////////  成语接口   ////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////







/////////////////////////////////////////      反抄袭app接口     ///////////////
///////////////////////////////////////////////////////////////////////////////////////////
 


  

//2.1. 上传文件



/// 手机号校验
static  NSString * const API_checkMobile            = @"user/checkMobile"; //



///     验证码登录
static  NSString * const API_codeLogin              = @"/user/codeLogin";












//7.10. 查询溯源记录中的可溯源文件列表
static  NSString * const API_findTraceAuthorizationList  = @"/creation/findTraceAuthorizationList";


///     8.2. 扣减字数
static  NSString * const API_deductInterestsNumber    = @"/userInterests/deductInterestsNumber";



//15.2. 分页查询存证队列
static  NSString * const API_findEvidenceParseQueue   = @"/evidenceparsequeue/findEvidenceParseQueue";


//15.3. 文字存证 zhif u完成调用
static  NSString * const API_trustedCTSRResult        = @"/existevidence/trustedCTSRResult";


//16.6. 分页条件查询
static  NSString * const API_existevidencePag         = @"api/existevidence/page";


//18.1. 移动端上传文件
static  NSString * const API_uploaderCchunk           =@"mobile/uploader/chunk";

//11.5. 文件详情
static  NSString * const API_diskFileDetail            =@"/disk/fileDetail";

//11.9. 修改名称
static  NSString * const API_diskRevise               =@"/disk/revise";

//11.10. 删除文件
static  NSString * const API_diskRecycle              =@"/disk/recycle";

//11.21. 打开文档（html）
static  NSString * const API_diskOpenFile             =@"/disk/openFile";

//16.8. 验证时间凭证
static  NSString * const API_existevidenceCheck       =@"/existevidence/check";

//16.9. 文件生成电子数据指纹
static  NSString * const API_getFingerprint           =@"/existevidence/getFingerprint";


//16.10. 打包存证文件下载
static  NSString * const API_zipPackDownload           =@"/existevidence/zipPackDownload";

//20.5. 确认扣减字数并生成授权书
static  NSString * const API_authorizationCharacterPay =  @"/pay/authorizationCharacterPay";

//21.1. 会员等生成zhif u二维码
static  NSString * const API_payOrderPay               =   @"pay/orderPay";

///    22.6. 作品详情
static  NSString * const API_portfolioInfo            = @"/portfolio/info";

//22.7. 生成授权记录并创建订单
static  NSString * const API_generationOfAuthorization = @"/portfolio/generationOfAuthorization";


//生成zhif u二维码
static  NSString * const API_otherOrderPay             = @"pay/otherOrderPay";

//此方法是查看用户是否sao ma z hi  fu）
static  NSString * const API_wechatOtherOrderQueryQrcode = @"/pay/wechatOtherOrderQueryQrcode";
                                                                   

//21.3. 调用微信zhif u的查询订单接口
static  NSString * const API_wechatOrderQueryQrcode    = @"/pay/wechatOrderQueryQrcode";






//25.7. APP统一商品下单(会员，信息汇编 版权实务)
static  NSString * const API_appUnifiedOrder          = @"pay/appUnifiedOrder";


//25.9. APP统一其他商品下单（授权，存证）
static  NSString * const API_appUnifiedOtherOrder     =@"/pay/appUnifiedOtherOrder";

//25.10. 其他订单zhif u成功回调
static  NSString * const API_appOtherOrderPaySuccessCallback =@"/pay/appOtherOrderPaySuccessCallback";













////  2.1. 上传文件
//static  NSString * const API_uploadRealNameImg            = @"/common/upload";



//   6.3. 权益积分信息
static  NSString * const API_findCopyrightIntegral         = @"/income/findCopyrightIntegral";


//   6.1. 收益查询
static  NSString * const API_findRevenue                    = @"/income/findRevenue";


//6.3. 添加授权承诺
static  NSString * const API_addCommitment                  =@"/copyright/add/commitment";
 
//6.6. 校验授权承诺
static  NSString * const API_checkCommitment                =@"/copyright/check/commitment";

// 7.2. 收益排名
static  NSString * const API_findCopyrightIntegralOrder     = @"/income/findCopyrightIntegralOrder";


//  6.4 收入记录
static  NSString * const API_findRevenueExpendInfo          = @"/income/findRevenueExpendInfo";


//   6.5. 兑换现金
static  NSString * const API_exchangeMoney                   = @"/income/exchangeMoney";



//   6.7. 提现
static  NSString * const API_addCashMoney                    = @"/income/addCashMoney";

//7.1. 版权认领申请
static  NSString * const API_addApply                        = @"/copyright/add/apply";

//7.2. 版权纠错申请
static  NSString * const API_copyrightError                  = @"/copyright/add/error";




//7.6. 分页查找历史溯源列表
static  NSString * const API_findTraceReport                  = @"creation/findTraceReport";


//7.7. 收录确权列表
static  NSString * const API_confirmPermissionsList           =@"/copyright/included/confirmPermissionsList";

//8.8. 删除已上传溯源任务列表
static  NSString * const API_delTraceSourceTask               = @"/creation/delTraceSourceTask";
 


//11.19. 上传文件到云文档
static  NSString * const API_uploadCloudFile                  = @"/disk/uploadCloudFile";

//11.20. 保存到云文档
static  NSString * const API_diskSaveToCloud                  = @"disk/saveToCloud";

//15.1. 批量存证
static  NSString * const API_batchEvidenceParse               = @"/evidenceparsequeue/batchEvidenceParse";

//15.2. 文字存证，下单，及生成zhif u二维码
static  NSString * const API_addstr                           =  @"api/existevidence/addstr";

//16.4. 网页存证 zhif u完成调用
static  NSString * const API_trustedWebResult                 = @"/existevidence/trustedWebResult";

//16.5. web存证
static  NSString * const API_existevidenceAddweb              =  @"/existevidence/addweb";

//19.6. 上传之前清除当前用户存证队列
static  NSString * const API_delEvidenceParseQueue             = @"/uploader/delEvidenceParseQueue";

//22.1. 信息库列表
static  NSString * const API_menubaseList                      = @"/menubase/list";



//22.6. 查询所有未zhif u订单校验是否zhif u
static  NSString * const API_findAllUnpaidOrder               =  @"pay/findAllUnpaidOrder";

////24.5. 查询作品列表
//static  NSString * const API_portfolioListPage               =  @"/portfolio/listPage";

//25.8. 订单zhif u成功回调
static  NSString * const API_appOrderPaySuccessCallback        =  @"pay/appOrderPaySuccessCallback";



//  33.3. 修改密码
static  NSString * const API_updatePassword                   = @"/user/updatePassword";

// 13.1. 首页搜索
static  NSString * const API_queryOfficicalWord               = @"copyright/queryOfficicalWord";

static  NSString * const API_analysisSearch                   = @"analysis/search";

// 32.6. 打开官方库的文档
static  NSString * const API_openCkWord                        =@"/system/openCkWord";

//platform
//int32
//来源平台 1：pc 2：手机端 3：ipad端
//producType
//int32
//产品类型：1授权 2存证 3信息汇编
//pids
//array
//单个订单下多个子ID
//37.1. 新增订单
static  NSString * const API_otherorderAdd                     =@"/otherorder/add";




//38.5. 分页搜索查询
static  NSString * const API_productPage                       =@"/product/page";



//47.1. 发送消息     type 消息类型： 0 系统消息 1 关注 2 评论 3 点赞 4好友消息
static  NSString * const API_remindMsgAdd                        =@"/remindmessage/remind-msg/add";

//47.2. 读消息
static  NSString * const API_remindMsgRead                        =@"/remindmessage/remind-msg/read";

//47.5. 查询消息系统未读消息
static  NSString * const API_findSysMsg                        =@"/remindmessage/remind-msg/findSysMsg";

//47.6. 查询好友未读消息
static  NSString * const API_findFriendMsg                      =@"/remindmessage/remind-msg/findFriendMsg";

//47.7. 查询消息列表
static  NSString * const API_findMsgInfoList                      =@"/remindmessage/remind-msg/findMsgInfoList";



//48. system




static  NSString * const API_shopDetails                      =@"/shopDetails/973";







///////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////
  








//static  NSString * const API_GetUserInfo = @"/user/getUserInfo";
static  NSString * const API_GetUserInfo = @"/user/getUserInfoNew";

static  NSString * const API_UpdateUserInfo = @"/user/updateUserInfo"; //

static  NSString * const API_Login = @"/user/pwdLogin";

static  NSString * const API_PhoneLogin = @"/user/codeLogin";

static  NSString * const API_LoginOut = @"/user/loginOut";

static  NSString * const API_SendSms = @"/common/mobileAchCaptchas";
//头像上传
static NSString *  const API_UploadImage = @"/user/uploadUserHeadImg";

static NSString *  const API_CheckMobile =  @"/user/checkMobile";

//文档相关
static NSString *  const API_GetDocument = @"/desk/getDocumentFileSystem";
//获取收藏列表
static NSString *  const API_GetFavoriteList =  @"/desk/getFavoriteDocument";
//获取最近列表
static NSString *  const API_GetLatesList =  @"/desk/getLatestDocument";
//获取文件夹下的子文件
static NSString *  const API_GetFolderChildren =  @"/desk/getFolderChildren";
//获取分享的html
static NSString *  const API_GetShareDocInfo = @"/desk/getShareDocInfo";
//获取文档详情
static NSString *  const API_GetDocumentDetail =  @"/desk/getDocumentDetail";
//批量删除文件
static NSString *  const API_DelFileBatch =  @"/desk/delFileBatch";
//删除文件
static NSString *  const API_DelFile =  @"/desk/deleteFile";

static NSString *  const API_DocDownLoad =  @"/desk/download";

static NSString *  const API_ShareDoc =  @"/desk/shareDocument";
static NSString *  const API_UpdateVersion = @"/user/checkUserVersion";

static NSString *  const API_checkUserVersion = @"common/checkUserVersion";
//新建文件夹
static NSString *  const API_CreateNewFolder =  @"/desk/createNewFolder";
//新建文档
static NSString *  const API_CreateNewDocument = @"/desk/createNewDocument";
//收藏文档
static NSString *  const API_CollectDocument = @"/desk/collectDocument";
////收藏文档
//static NSString *  const API_CollectDocument = @"/desk/findFavoriteDocAndLibrary";


//重命名
static NSString *  const API_Rename = @"/desk/renames";

//更新文档
static NSString *  const API_UpdateDoc =  @"/desk/updateDocument";

#pragma mark ---特色功能

//文稿纠错
static NSString *  const API_DocCheckEror =  @"/doc/prepareWordError";
//精装核校
static NSString *  const API_DocGetLawData = @"/doc/getLawData";
//查重审核
static NSString *  const API_DocGetDuplicData = @"/doc/getDuplicData";
//标准公文格式
static NSString *  const API_DocGetWordPatternInfo = @"/doc/getWordPatternInfo";
//全文翻译
static NSString *  const API_DocWordTranslate =     @"/doc/wordTranslate";
//繁简转换
static NSString *  const API_DocFontSwitch =        @"/doc/fontSwitch";


static NSString *  const API_giftcardBind  =         @"/giftcard/bind";



static NSString *  const API_userFindfriendList  =   @"/user/findfriendList";


static NSString *  const API_userSearchFriendList  =   @"/user/searchFriendList";


// 获取所有的消息内容
static NSString *  const API_commonMyMsgs  =         @"/common/myMsgs";

// 获取所有的消息内容
static NSString *  const API_commonFindFirstPageInfos  =         @"/common/findFirstPageInfo";


// 添加好友
static NSString *  const API_userAddFriendInfo  =    @"/user/addFriendInfo";


// 查询消息数量
static NSString *  const API_commonMsgCount  =       @"/common/msgCount";


//标记消息为已读
static NSString *  const API_commonRead  =           @"/common/read";

//根据消息id删除消息
static NSString *  const API_commonDelMsg  =         @"/common/delMsg";



//查重提交内容  content
static NSString *  const API_duplicatecheckGetDuplicDataByBody  =         @"/duplicatecheck/getDuplicDataByBody";

//查重-结果查询
static NSString *  const API_duplicatecheckGetDuplicateData  =         @"/duplicatecheck/getDuplicateData";

//溯源-提交内容  content
static NSString *  const API_newordParse                     =  @"/neword/parse";


//溯源-结果查询
static NSString *  const API_newordGetParseData              =  @"/neword/getParseData";


//核校提交内容  content
static NSString *  const API_docHandlePullErrorRule          =  @"/docHandle/pullErrorRule";

//核校结果查询
static NSString *  const API_docHandleGetErrorSetData        =  @"/docHandle/getErrorSetData";

static NSString *  const API_newordCheckLevel              =  @"/neword/checkLevel";

static NSString *  const API_newordGetUserCount              =  @"/neword/getUserCount";



//码-执行扫码发起请求  qrCodeKey    二维码序列号
static NSString *  const API_userScanLoginPCAction            =  @"/user/scan";

////码-执行扫码发起请求  qrCodeKey    二维码序列号  string
//type    是否同意登录，300表示同意登录，302表示已扫码，303表示取消登录    query    true
//integer(int32)
static NSString *  const API_userQrCodeLogin                   =  @"/user/qrCodeLogin";

//下载文档  文档id
static NSString *  const API_systemDocDownload                 = @"/system/docDownload";


//汇编成册下载 ids
static NSString *  const API_systemWriterMergeWord             = @"/system/writerMergeWord";


//发送至电脑
static NSString *  const API_getShareDocInfo                   = @"/desk/getShareDocInfo";


//查询核校设置
static NSString *  const API_FindCheckSetting                  = @"/docErrorSet/findCheckSetting";

//docErrorCheck    个人纠错设置 1.通用文字核校库 2.个人核校库    array    integer
//id    纠错设置ID    integer
//precisionCheck    系统纠错设置 5.电话手机号码缺失核校 1.法律法规文核校库 2.党内法规文核校库 3.政策文件文核校库    array    integer
//保存核校设置
static NSString *  const API_saveCheckSetting                  = @"/docErrorSet/saveCheckSetting";


//pageIndex    分页-页码    query    true
//integer(int32)
//pageSize    每页条数    query    true
//integer(int32)
//parentId    条件分组ID 0.常用 1.权威性 2.时间 3.插入 4.热度    query    true
//integer(int32)
//type    查询勾选状态类型 1.推荐 2.查重 3.溯源    query    true
//integer(int32)
//查询查重设置
static NSString *  const API_findDuplicateSetting              = @"/duplicatecheck/findDuplicateSetting";


//修改查重设置
static NSString *  const API_saveDuplicateSetting              = @"/duplicatecheck/saveDuplicateSetting";





//pageIndex    分页-页码    query    true
//integer(int32)
//pageSize    每页条数    query    true
//integer(int32)
//parentId    条件分组ID 0.常用 1.权威性 2.时间 3.插入 4.热度    query    true
//integer(int32)
//type    查询勾选状态类型 1.推荐 2.查重 3.溯源    query    true
//integer(int32)

//查询溯源设置
static NSString *  const API_findTraceabilitySetting              = @"/neword/findTraceabilitySetting";




//溯源设置
static NSString *  const API_traceabilitySetting                  = @"/neword/traceabilitySetting";


static NSString *  const API_toAdvertisement                       = @"/pc/toAdvertisement";


static NSString *  const API_memberPlaceOrder                      = @"/pay/memberPlaceOrder";

static NSString *  const API_memberCallBack                       = @"/pay/memberCallBack";




//转换html接口
static NSString *  const API_userWechatQqParserWord               = @"/user/wechatQqParserWord";


// 我的关注
static NSString *  const API_findMyFocus                          = @"/user/findMyFocus";


// 我的粉丝
static NSString *  const API_findMyFans                          = @"/user/findMyFans";


//authorAccount    博主账号    query    true
//string
//用户-关注用户-取消关注
static NSString *  const API_focusUser                           = @"/user/focusUser";


static NSString *  const API_recommendFriend                     = @"/user/recommendFriend";


//云盘-文件-根据文件id下载
static NSString *  const API_deskDownload                      = @"/desk/download";


// 获取系统消息
static NSString *  const API_commonFindSysMsg                  = @"/common/findSysMsg";


//批量删除消息
static NSString *  const API_commonBatchDelMsg                  = @"/common/batchDelMsg";

//type    类型 13：评论 14：点赞    query    true integer(int32)
//消息-根据类型查询消息   
static NSString *  const API_commonFindRemindMsgByType          = @"/common/findRemindMsgByType";



//消息-根据类型全部已读  13评论  14赞👍🏻
static NSString *  const API_commonReadMsgByType                 = @"/common/readMsgByType";



//commentContent    评论内容                    string
//dismainId           帖子ID    query    false integer(int32)
//parentCommentId    父评论ID    query    false integer(int32)
//消息-回复评论消息   请求数据类型 application/x-www-form-urlencoded
static NSString *  const API_commonCommentsReply                 = @"/common/commentsReply";


//content    回复内容    query    true string
//userId    回复对象ID    query    true integer(int32)
//Authorization    令牌    header    false string
// 消息-回复消息
static NSString *  const API_commonReplyMessage                = @"/common/replyMessage";


////消息-查询用户留言
//sendId    消息发送者Id    query    true integer(int32)
static NSString *  const API_commonFindRemindMsgBySend         = @"/common/findRemindMsgBySend";

//消息-删除系统消息
//ids    系统消息IDS  query    true string
static NSString *  const API_commonDelSystemMsg                 = @"/common/delSystemMsg";

//sendId    消息发送者ID    query    true integer(int32)
//消息-阅读留言消息
static NSString *  const API_commonReadAllMsgBySendId           = @"/common/readAllMsgBySendId";





static NSString *  const API_remainingQuantity           = @"ai/remainingQuantity";


static NSString *  const API_settingFind           = @"user/setting/find";


static NSString *  const API_aiPrompt           = @"ai/prompt";





/******************  聊天定义  *****************/
/****************************************/
/*
 设备
*/
static NSString *DeviceType                = @"iOS";    //设备类型


/*
 消息类型
*/
static NSString *Message_Normal                = @"normal";   //普通消息类型(文本,语音,图片,视频,文件,提示语,撤回等..)
static NSString *Message_Login                  = @"login";    //登录
static NSString *Message_Repeal                = @"repeal";   //撤回消息
static NSString *Message_Validate              = @"validate"; //验证消息
static NSString *Message_System               = @"system";   //系统消息
static NSString *Message_NormalReceipt     = @"normalReceipt";//发送普通消息回执
static NSString *Message_LoginReceipt       = @"loginReceipt"; //登录成功回执
static NSString *Message_InvalidReceipt      = @"invalidReceipt";//消息发送失败回执
static NSString *Message_RepealReceipt     = @"repealReceipt"; //撤回消息回执


/*
  消息内容类型
 */
static NSString *Content_Text            = @"text";   //文本,表情消息
static NSString *Content_Audio          = @"audio";   //语音消息
static NSString *Content_Picture        = @"picture";   //图片消息
static NSString *Content_Video          = @"video";   //视频消息
static NSString *Content_File             = @"file";   //文件消息
static NSString *Content_Tip             = @"tip";   //提示消息(欢迎XX加入群 , XX撤回了一条消息等)


/*
   icon图片名
 */
static NSString *defaulUserIcon           = @"userhead";   //文本,表情消息


/*
   标题
 */
static NSString *ChatlistTitle           = @"聊天列表";   //聊天列表标题

/*
  聊天通知
 */
static NSString *ChatKeyboardResign = @"ChatKeyboardShouldResignFirstResponder"; //键盘失去第一响应者


/*
 enum
 */

//长按消息操作类型
typedef NS_ENUM(NSInteger,LongpressSelectHandleType){
    LongpressSelectHandleTypeBack     =  0<<0, //撤回
    LongpressSelectHandleTypeDelete   =  1<<0, //删除
    LongpressSelectHandleTypeTransmit =  2<<0  //转发
};
/******************  聊天定义  *****************/
/****************************************/
